package com.gongj.circularDependencies.dto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;


@Component
public class A {

	@Autowired
	private B b;

	public B getBb() {
		return b;
	}

	public void setBb(B b) {
		this.b = b;
	}

//		public A(B b) {
//		System.out.println("b" + b);
//	}

	public void test(){
		System.out.println("属性B = " + b);
	}

	public void fe(){
		System.out.println("销毁");
	}
}
